Skip to content

Conversation

@amkCha
Copy link
Collaborator

@amkCha amkCha commented Oct 14, 2025

This is the tracer branch to use for future prod releases to follow up with beta-v4.0-rc20 (the branch name has rc13 in it as legacy from 1st prod release)


HOW TO

If there is a hotfix or a Besu version update, here is how you can proceed to release beta-v4.0-rcN

  • checkout latest version of beta-v4.0-rc13-branch (check you have the latest commit)
  • checkout latest version of beta-v4.0-rc13-constraint-branch (check you have the latest commit)
  • apply the fix/update on tracer or constraints :
  • if it's a Besu update, just change besuVersion in gradle.properties
  • if edit on constraints, push thebeta-v4.0-rc13-constraint-branch branch with your new commit so it stays up-to-date on the repo
  • change releaseVersion in gradle.properties to beta-v4.0-rcN
  • push the tracer branch beta-v4.0-rc13-branch so it stays up-to-date on the repo
  • to keep consistency between prod and our arith-dev branch : cherry-pick the commit of the fix from the beta-v4.0-rc13-branch, open a new branch from arith-dev, apply it and open a PR that you merge on arith-dev
  • Make a release, link here : draft new release, create a tag beta-v4.0-rcN, choose Target branch beta-v4.0-rc13-branch, add release title as beta-v4.0-rcN, edit notes to add the changes since previous release, publish as latest
  • check that the units and replays are passing on the manual-release CI (the tests are now triggered for all releases)
  • run the Daily blockchain tests on branch beta-v4.0-rc13-branch, and check they are passing

VERSION beta-v4.0-rc16

  • contains besu version update to 25.10.0-linea2
releaseVersion=beta-v4.0-rc16
besuVersion=25.10.0-linea2
shomeiVersion=2.4-develop
besuShomeiPluginVersion=v0.7.4

go-corset is 1.1.23 (hash 93c23f239542f79c1db60eb5b8250ab20e30f046)
constraints hash is f79e3b2f96bac51abab9add89bc1ec3571ab63ae

VERSION beta-v4.0-rc14

  • contains besu version update to 25.10.0-linea1

VERSION beta-v4.0-rc13

The tracer for beta-v4.0-rc13 is the same as for beta-v4.0-rc12 on top of which we've applied :

  • Olivier's commits to reintegrate the columns for the prover team (from beta-v4.0-rc11-TRACER-only-columns-hotfix)

Note

Refactors opcode handling and bridge topic types, enriches TXN/RLP tracing, adds Prague execution-spec blockchain tests with supporting Gradle/templates/ignores, expands CI (build/unit/replay), and bumps Besu/release versions.

  • Tracer/Opcode handling:
    • Replace tracePreOpcode with explicit call* methods (Add/Bin/Mod/Shf/Ext/Wcp) invoked from StackOnlySection and ExpSection; update Blockhash to deferred callBlockhash.
    • Fix AccountSnapshot.tracedHasCode; adjust TxSkipSection gas used (gasLimit - gasRefunded).
    • RLP/TXN data: track per-block tx counts, add proverUserTxnNumberMax and relative maxima; wire through Cancun modules.
  • Config:
    • Change L1/L2 bridge topic from Bytes to Bytes32; propagate in Hub/L1BlockSize.
  • Tests/Gradle:
    • Add tasks to download/generate execution-spec fixtures and run referenceExecutionSpecBlockchainTests; include JaCoCo report.
    • Update templates and tooling to pass test source path; expand ignore lists (esp. Prague); default fork to PRAGUE.
    • Update Besu API usages (pre-exec processor, protocol spec builders, worldstate queries, Engine API payload params).
  • CI:
    • Manual release workflow now builds, uploads assets, runs spotless, stores artifacts, and triggers unit and replay tests.
    • Daily blockchain tests: special Prague job using execution-spec fixtures; fix artifact/report names.
  • Versions:
    • Bump releaseVersion to beta-v4.0-rc23 and besuVersion to 25.11.0-RC1-linea2.

Written by Cursor Bugbot for commit d92ab9c. This will update automatically on new commits. Configure here.

@amkCha amkCha changed the title Beta v4.0 rc13 branch DO NOT MERGE - PROD tracking - Beta v4.0 rc13 branch Oct 15, 2025
cursor[bot]

This comment was marked as outdated.

@letypequividelespoubelles letypequividelespoubelles marked this pull request as draft October 15, 2025 10:43
@amkCha amkCha marked this pull request as ready for review October 15, 2025 11:59
cursor[bot]

This comment was marked as outdated.

@amkCha amkCha force-pushed the beta-v4.0-rc13-branch branch from a9d6409 to 20fc4a2 Compare October 16, 2025 16:31
cursor[bot]

This comment was marked as outdated.

@amkCha amkCha changed the title DO NOT MERGE - PROD tracking - Beta v4.0 rc13 branch DO NOT MERGE - PROD tracking - Beta v4.0 prod branch Oct 16, 2025
amkCha and others added 3 commits October 16, 2025 21:37
* For PRAGUE, the blockchain ref tests source changes : 
   the tests are generated from ethereum/execution-spec-tests repo.
   We download the tar from the releases to get the already available "fixtures" (json files).

* This PR adds 3 new gradle tasks
   downloadExecutionSpecFixtures download tar file in build folder
   generateExecutionSpecBlockchainTests untar and generate the BlockchainReferenceTest
   referenceExecutionSpecBlockchainTests launches the tests

* BlockchainReferenceTestTools class and template have been made generic to handle both sources for ref tests
   ethereum/tests repo, our current submodule
   ethereum/execution-spec-tests repo, from which we download a tar
@amkCha amkCha force-pushed the beta-v4.0-rc13-branch branch from cc23ac3 to e4ff372 Compare October 16, 2025 19:38
cursor[bot]

This comment was marked as outdated.

amkCha and others added 8 commits October 17, 2025 22:12
* For PRAGUE, the blockchain ref tests source changes : 
   the tests are generated from ethereum/execution-spec-tests repo.
   We download the tar from the releases to get the already available "fixtures" (json files).

* This PR adds 3 new gradle tasks
   downloadExecutionSpecFixtures download tar file in build folder
   generateExecutionSpecBlockchainTests untar and generate the BlockchainReferenceTest
   referenceExecutionSpecBlockchainTests launches the tests

* BlockchainReferenceTestTools class and template have been made generic to handle both sources for ref tests
   ethereum/tests repo, our current submodule
   ethereum/execution-spec-tests repo, from which we download a tar
This updates the release version to rc18 which includes only the gas
calculation fix for TX skip sections.
@amkCha amkCha force-pushed the beta-v4.0-rc13-branch branch from 071c4ac to b90b701 Compare November 3, 2025 16:59
…hash()

This may help fix @ameziane's performance issue.

Note: this deviates from the spec which identifies empty code using a
comparison to

    KECCAK(())

It should be functionally equivalent.
@OlivierBBB OlivierBBB force-pushed the beta-v4.0-rc13-branch branch 2 times, most recently from 7e7278a to e9fcf70 Compare November 6, 2025 12:42
}

@Override
public void traceTransaction(Trace.Txndata trace) {}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Redundant trace override causes confusion in tracing logic

SysfNoopTransaction adds an empty override for traceTransaction(Trace.Txndata trace) at lines 48-49, but this method is never meant to be called. The actual tracing logic is in CancunTxnDataOperation's traceTransaction(Trace.Txndata trace, long totalUserTransactionsInConflation) method which is called from CancunTxnData.commit(). This empty override serves no purpose and creates confusion about which method should be used for tracing.

Fix in Cursor Fix in Web

fab-10 and others added 3 commits November 6, 2025 13:51
This addresses an issue that seems to only occur for CANCUN blockchain
reference tests starting with

    besuVersion = 25.11.0-RC1-linea2

where tests 627, 626, 625, 623, 612, 608, 605, 601, 578, 576, 575, 574
... among others would produce besu errors
@OlivierBBB OlivierBBB force-pushed the beta-v4.0-rc13-branch branch from f874b70 to 167c971 Compare November 7, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants